<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>后台</title>

     <script src='/js/vue/vue.js'></script>
     <script src='/js/jquery.js'></script>
     <script src='/js/layer.js'></script>
</head>

<body>
<a href='/redis.php/friend'>登入/注册</a>
<div id="right">
       <ul style='width:100%;height:35px;' >
	       <li>ID</li>
	       <li>姓名</li>
	       <li>密码</li>
		   <li>操作</li>
	   <ul>
	{foreach $list as $k =>$v}
	   <ul style='width:100%;height:35px;' >
	       <li>{$k}</li>
	       <li>{$v['user']}</li>
	       <li>{$v['pass']}</li>
	       <li><a href='/redis.php/friend/friend_save?id={$k}'>加好友</a></li>
	   <ul>
	  {/foreach}

<hr/>

	  {foreach $friend as $k =>$v}
	   <ul style='width:100%;height:35px;' >
	       <li>{$v['user']}</li>
	       <li>{$v['pass']}</li>
		   <li></li>
		   <li></li>
	   <ul>
	  {/foreach}
</div>
</body>
</html>
<script>

</script>
<style>
*{
margin:0px;
padding:0px;

}
#right{
    width:400px;
	margin:0px auto;
}
li{
  float:left;
  list-style:none;
  border:1px solid #efefef;
  width:98px;
  height:35px;
  line-height:35px;
  text-align:center;
}
</style>
